projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52711be
)
notebook: Fix child property setters causing underallocations
author
Benjamin Otte
<otte@redhat.com>
Fri, 26 Aug 2011 23:50:28 +0000
(
01:50
+0200)
committer
Benjamin Otte
<otte@redhat.com>
Sat, 27 Aug 2011 00:47:51 +0000
(
02:47
+0200)
Don't randomly allocate around, queue resizes instead.
gtk/gtknotebook.c
patch
|
blob
|
history
diff --git
a/gtk/gtknotebook.c
b/gtk/gtknotebook.c
index 0ae65efcc8908ff8d01c4cd46866b9cd48547d10..a518e9c7ca2e57aadef7cdd11debf4fff69a5795 100644
(file)
--- a/
gtk/gtknotebook.c
+++ b/
gtk/gtknotebook.c
@@
-7853,7
+7853,7
@@
gtk_notebook_set_tab_label_packing (GtkNotebook *notebook,
gtk_widget_child_notify (child, "tab-fill");
gtk_widget_child_notify (child, "position");
if (priv->show_tabs)
- gtk_
notebook_pages_allocate (notebook
);
+ gtk_
widget_queue_resize (GTK_WIDGET (notebook)
);
gtk_widget_thaw_child_notify (child);
}